/** 
 * 文 件 名:Electrocardio.java
 * Copyright (C) 2007-2012:杭州希禾信息技术有限公司 版权所有 
 * 创 建 人:刘绍辉
 * 日    期:2012-3-12 下午12:09:00
 * 修 改 人: 
 * 日   期:
 * 修改描述:
 * 描   述:TODO
 */
package net.seehealth.healthpad.model.upload;

import net.seehealth.healthpad.application.base.BaseModel;
/**
 * @className Electrocardio
 * @author 刘绍辉
 * @description 心电
 * @date 2012-3-14 下午14:09:00
 */
public class Electrocardio extends BaseModel {
	/**
	 * 主键ID
	 */
	private Integer eid;
	/**
	 * 用户ID
	 */
	private Integer userID;
	/**
	 * 测量日期
	 */
	private String date;
	/**
	 * 波形判断结果
	 */
	private String isright;
	/**
	 * R波数
	 */
	private Integer howmany;
	/**
	 * 成功分析波形数
	 */
	private Integer howmanysuccess;
	/**
	 * 心率信息
	 */
	private float ahrhear;
	/**
	 * 全局的PR区间
	 */
	private float pr;
	/**
	 * 平均QT区间
	 */
	private float qt;
	/**
	 * 平均R波电压
	 */
	private float rvolt;
	/**
	 * 平均P波电压
	 */
	private float pvolt;
	/**
	 * 平均T波电压
	 */
	private float tvolt;
	/**
	 * ST段平均电压
	 */
	private float svolt;
	/**
	 * 所属年
	 */
	private Integer year;
	
	/**
	 * 所属月
	 */
	private String month;
	
	/**
	 * 所属周
	 */
	private Integer week;
	/**
	 * 数据来源 (0 蓝牙导入 1 手动输入)
	 */
	private Integer datafrom;
	/**
	 *  empty constructor
	 */
	public Electrocardio() {
		super();
	}
	/**
	 * full constructor
	 * @param eid
	 * @param userID
	 * @param date
	 * @param isright
	 * @param howmany
	 * @param howmanysuccess
	 * @param ahrhear
	 * @param pr
	 * @param qt
	 * @param rvolt
	 * @param pvolt
	 * @param tvolt
	 * @param svolt
	 * @param year
	 * @param month
	 * @param week
	 * @param datafrom
	 */
	public Electrocardio(Integer eid, Integer userID, String date,
			String isright, Integer howmany, Integer howmanysuccess,
			float ahrhear, float pr, float qt, float rvolt, float pvolt,
			float tvolt, float svolt, Integer year, String month,
			Integer week, Integer datafrom) {
		super();
		this.eid = eid;
		this.userID = userID;
		this.date = date;
		this.isright = isright;
		this.howmany = howmany;
		this.howmanysuccess = howmanysuccess;
		this.ahrhear = ahrhear;
		this.pr = pr;
		this.qt = qt;
		this.rvolt = rvolt;
		this.pvolt = pvolt;
		this.tvolt = tvolt;
		this.svolt = svolt;
		this.year = year;
		this.month = month;
		this.week = week;
		this.datafrom = datafrom;
	}
	@Override
	public String toString() {
		return "Electrocardio [eid=" + eid + ", userID=" + userID + ", date="
				+ date + ", isright=" + isright + ", howmany=" + howmany
				+ ", howmanysuccess=" + howmanysuccess + ", ahrhear=" + ahrhear
				+ ", pr=" + pr + ", qt=" + qt + ", rvolt=" + rvolt + ", pvolt="
				+ pvolt + ", tvolt=" + tvolt + ", svolt=" + svolt + ", year="
				+ year + ", month=" + month + ", week=" + week + ", datafrom="
				+ datafrom + "]";
	}
	public Integer getEid() {
		return eid;
	}
	public void setEid(Integer eid) {
		this.eid = eid;
	}
	public Integer getUserID() {
		return userID;
	}
	public void setUserID(Integer userID) {
		this.userID = userID;
	}
	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	public String getIsright() {
		return isright;
	}
	public void setIsright(String isright) {
		this.isright = isright;
	}
	public Integer getHowmany() {
		return howmany;
	}
	public void setHowmany(Integer howmany) {
		this.howmany = howmany;
	}
	public Integer getHowmanysuccess() {
		return howmanysuccess;
	}
	public void setHowmanysuccess(Integer howmanysuccess) {
		this.howmanysuccess = howmanysuccess;
	}
	public float getAhrhear() {
		return ahrhear;
	}
	public void setAhrhear(float ahrhear) {
		this.ahrhear = ahrhear;
	}
	public float getPr() {
		return pr;
	}
	public void setPr(float pr) {
		this.pr = pr;
	}
	public float getQt() {
		return qt;
	}
	public void setQt(float qt) {
		this.qt = qt;
	}
	public float getRvolt() {
		return rvolt;
	}
	public void setRvolt(float rvolt) {
		this.rvolt = rvolt;
	}
	public float getPvolt() {
		return pvolt;
	}
	public void setPvolt(float pvolt) {
		this.pvolt = pvolt;
	}
	public float getTvolt() {
		return tvolt;
	}
	public void setTvolt(float tvolt) {
		this.tvolt = tvolt;
	}
	public float getSvolt() {
		return svolt;
	}
	public void setSvolt(float svolt) {
		this.svolt = svolt;
	}
	public Integer getYear() {
		return year;
	}
	public void setYear(Integer year) {
		this.year = year;
	}
	
	public String getMonth() {
		return month;
	}
	public void setMonth(String month) {
		this.month = month;
	}
	public Integer getWeek() {
		return week;
	}
	public void setWeek(Integer week) {
		this.week = week;
	}
	public Integer getDatafrom() {
		return datafrom;
	}
	public void setDatafrom(Integer datafrom) {
		this.datafrom = datafrom;
	}
}
